﻿using DataModels.Enums.Livelihood;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static DataModels.Enums.GeneralEnum;

namespace DataModels.Entities.Livelihood
{
    ///<summary>
    ///房屋租售预约表
    ///</summary>
    [SugarTable("HouseRentSaleReservation")]
    public partial class HouseRentSaleReservation
    {
        public HouseRentSaleReservation()
        {
        }

        /// <summary>
        /// Desc:主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public string UUID { get; set; }

        /// <summary>
        /// Desc:房屋租售表外键
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string HouseRentSaleUUID { get; set; }

        /// <summary>
        /// Desc:预约用户UUID
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string UserUUID { get; set; }

        /// <summary>
        /// Desc:预约用户名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string UserName { get; set; }

        /// <summary>
        /// Desc:预约需求
        /// Default:
        /// Nullable:True
        /// </summary>           
        public HouseRentSaleDemand Demand { get; set; }

        /// <summary>
        /// Desc:预约房屋UUID （如果有房源可选）
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string HouseUUID { get; set; }

        /// <summary>
        /// Desc:房源名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string HouseName { get; set; }

        /// <summary>
        /// Desc:手机号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Phone { get; set; }

        /// <summary>
        /// Desc:沟通时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? CommunicateTime { get; set; }

        /// <summary>
        /// Desc:创建人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string CreateUser { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:CURRENT_TIMESTAMP
        /// Nullable:True
        /// </summary>           
        public DateTime? CreateTime { get; set; }

    }
}
